PIN1 / PUK1:After three failures to enter PIN 1, the SIM card is blocked (except for emergency calls). +CME ERROR: 12 will prompt the client to unblock the SIM card by entering the associated PUK (= PIN Unblocking Key / Personal Unblocking Key). After ten failed attempts to enter the PUK, the SIM card will be invalidated and no longer operable (the device will respond with: +CME ERROR: 770, which stands for: SIM invalid - network reject). In such a case, the card needs to be replaced. PIN1 consists of 4 to 8 digits, PUK1 is an 8-digit code only.
To unblock a disabled PIN1 you have two options:
PIN2 / PUK2:
PIN2 prevents unauthorized access to the features listed in
AT+CPIN2. The handling of PIN2 varies with the provider. PIN2 may either be a specific code supplied along with an associated PUK2, or a default code such as 0000. In either case, the client is advised to replace it with an individual code. Incorrect input of PUK2 will permanently block the additional features subject to PIN2 authentification, but usually has no effect on PIN1. PIN2 consists of 4 digits, PUK2 is an 8-digit code only.
To unblock a disabled PIN2 you have two options:
Phone lock:
If the mobile was locked to a specific SIM card (= "PS" lock or phone lock), the PUK that came with the SIM card cannot be used to remove the lock. After three failed attempts to enter the correct password, ME returns +CPIN: PH-SIM PUK (= response to read command
AT+CPIN?), i.e. it is now waiting for the Master Phone Code. This is an 8-digit device code associated to the IMEI number of the mobile which can only by obtained from the manufacturer or provider. When needed, contact Siemens AG and request the Master Phone Code of the specific module.
There are two ways to enter the Master Phone code:
SIM locks:
These are factory set locks, such as "PF", "PN", "PU", "PP", "PC". An 8-digit unlocking code is required to operate the mobile with a different SIM card, or to lift the lock. The code can only be obtained from the provider.
Failure to enter the password is subject to the same timing algorithm as the Master Phone Code (see Table above).
Call barring:
Supported modes are "AO", "OI", "OX", "AI", "IR", "AB", "AG", "AC". If the call barring password is entered incorrectly three times, the client will need to contact the service provider to obtain a new one.
Related sections:
"+CME ERROR:
<err>" values are specified at Section
2.12.1, CME/CMS Error Code Overview. For further instructions and examples see
AT+CLCK,
AT^SLCK,
AT+CPWD and
AT^SPWD.
For a complete list of Star-Hash codes please refer Section
23.2, Star-Hash (*#) Network Commands.